import React ,{ useMemo} from 'react'
import stylse from './index.module.less'

import SearchForm from '../CommonSearch'
const Panel = (props:any) => {
    const {searchList, url,form} = props 
    return (
        <div className={stylse.panel}>
            <div className={stylse.topImg} style={{background:`url(${url})`}}>
                
            </div>
            <div style={{marginBottom:10}}>
                <SearchForm formList={searchList} form={form}></SearchForm>
            </div>
        </div>
    )
}

export default Panel